package com.hjn.moredatasource.datasource.test.repository;

import com.hjn.moredatasource.datasource.test.entiry.StoryMoneyEntity;
import com.hjn.moredatasource.datasource.test.mapper.StoryMoneyMapper;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class StoryMoneyRepository {
    @Autowired
    private StoryMoneyMapper storyMoneyMapper;

    public void query() {
        List<StoryMoneyEntity> list = storyMoneyMapper.findByIds(Arrays.asList(1, 1000));
        System.out.println(list);
    }
}